﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;

namespace HDJ.Framework.Core
{
    public class LogicObjectDataController
    {
        public static LogicObjectContainer GetDataFromFile(string dataName)
        {
            string content = ResourceManager.LoadText(dataName);
            if (string.IsNullOrEmpty(content))
                return new LogicObjectContainer();
            return JsonUtils.FromJson<LogicObjectContainer>(content);
        }

    }
}
